home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Experimental BBS Explossion 3
/
Experimental BBS Explossion III.iso
/
database
/
foxsqz.zip
/
FOXSQZ.DOC
< prev
next >
Wrap
Text File
|
1994-03-14
|
30KB
|
858 lines
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
F O X S Q Z Version 1.6i Mar 14, 1994
DEMO/BETA
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Thank you for your interest and support of FOXSQZ !
Note :
I have removed the screen builder files along with the PLB
for FOXPRO 2.0 from the Compuserve download to conserve space,
I'm sure people were getting tired of downloading a 130K file
everytime a made a change during the BETA . All of these files
are still part of the FOXSQZ package and the Full DEMO is
availbale on the BBS @ (201) 585-7002 .
***************** BETA Version Release Notes ********************
1.5a is the currently released version.
This is a BETA version and should only be used for testing and
evaluation. v1.6 is NOT compatible with v1.5a SQZ files and visa
versa.
Do not Use SQZ files from previous versions of FOXSQZ with this BETA.
The evaluation copy is limited to storing 50 files in the SQZ
file.
Registered users of v1.5 will be able to upgrade to 1.6
free of charge. A patch file will be posted on Compuserve
or may be downloaded from the BBS.
I expect to release v1.6 by the last Week in March.
Known anomalies:
Specifying *.pre *.p?? will put .pre files in twice. Just use
*.p?? The problem is there is no list of files names in memory
to search against. When I find an efficient way to overcome this
problem it will be fixed. Any suggestions are welcome..
When using the Store Only option with disk spanning and the files
local header in the SQZ file is on a disk that is no longer in
the drive the CRC for the file will not be set. This is because
the Store only option writes directly to the SQZ archive
bypassing the temporary file. When this is fixed FOXSQZ will ask
for a previous disk. Currently This is handled by not updating
the CRC for that file, when unstoring the CRC is ignored.
*****************************************************************
What's New !
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
1) You can now register FOXSQZ via Compuserve "GO SWREG"
DOS/WIN Version ID #1942
DOS ONLY Version ID #2026
WIN ONLY Version ID #2037
OR
Just Search for "FOXSQZ"
2) Multi-volume archive support ! Foxsqz will now span SQZ
archive files across multiple diskettes if one disk is not
enough. Every last byte is used on each diskette.
3) Ability to set the DOS Verify Flag.
4) Store only option has been added with encryption option.
5) Redirection of the FOXSQZ Temporary files (Go-Between file)
see option G.
6) Improved documentation and better documented DEMO.PRG
7) Progress thermometer replaced by percentage complete for
compression & decompression.
8) Option to format diskettes used in a multi-volume spanned
archive. Will only work with removable media (floppies)
supports Quick/Conditional/UnConditional Formating
of 360K/1.2MB & 720K/1.44MB formats.
9) .SQZ Extenstion is added if none is specified
to Force no Extenstion Sepcify . after the file name with no extension
10) A BBS system has been set up for addtional support. The Phone # is
201-585-7002 9600,8,N,1 Xmodem is the only protocol right now.
In a week or so I'll the others including Zmodem. The latest demos
, patches etc will be on the BBS first. Support will continue on
Compuserve .. Call away..
11) $ option added will reduce memory requiremnts for M (max compression)
by 12K for low memory configurations.
12) Still Beta Testing
** ATTENTION registered FOXSQZ 1.5a Users **
There is now a patch file to make 1.5a into 1.6i BETA to allow
you to get started with the new version the patch file may be downloaded
from the BBS call (201)585-7002 9600b 8,1,n XMODEM (for now)
What is FOXSQZ ?
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
FOXSQZ is a compression/archiving system for DOS, Foxpro 2.00 &
2.5b for DOS and Foxpro 2.5b for Windows. FOXSQZ is a Foxpro
Library file (PLB for DOS, FLL for Windows), a DOS command line
version is part of this system as well. FOXSQZ utilizes two
methods of compression. One is a very fast method with very good
compression. The other method provides better compression at a
slightly slower speed. FOXSQZ requires approximately 40K of
Foxpro memory resources for compression and decompression. FOXSQZ
can selectively compress, decompress, list, and delete files from
SQZ archives. Foxsqz can store an unlimited amount of files in
one neat compact SQZ file. FoxSQZ ensures data integrity with a
16 bit CRC code and can optionally protect your data with
password encryption. Foxsqz is an excellent tool for installation
, backup & restore, data archiving , or any other application
that may need data compression technology.
FOXSQZ Requirements
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
1) FOXPRO 2.00 or 2.5b for DOS or Foxpro For Windows v2.5b. (LAN
and (X) versions also supported.)
2) At least 100K Foxpro memory Free (before loading FOXSQZ).
ie) memory() >=100
3) The need to compress your data ...
FOXSQZ Support Files
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
FOXSQZ.DOC This File.
FOXSQZ.EXE The DOS command line version of Foxsqz. Can be
run from DOS of a DOS Box in Windows or OS/2 > v2.0
FOXSQZ.PLB Foxpro/DOS Library for Foxpro v2.5b (supports X
version too)
FOXSQZ20.PLB Foxpro/DOS Library for Foxpro v2.0 (supports X &
LAN too )
FOXSQZ.FLL Foxpro/WIN Library for Foxpro v2.5b for Windows.
DEMO.PRG User Interface DEMO Source code for FOXPRO DOS &
Windows requires SQZ.SPR or SQZ.SCT and SQZ.SCX.
SQZ.* User Screen Builder file for the interface which is
called by DEMO.PRG The interface is optional and is
not necessary to use FOXSQZ. It provides for a
non-programmer to Access Foxsqz functions.
PATCH.EXE Used to update Foxsqz when patches files are
available. Patch files will be posted on FOXFORUM
(3rd Party Lib). Or may be requested via U.S. Mail
with a self addressed stamped envelope or disk mailer and
one 5.25 or 3.5" Diskette there is no cost for patches.
DEMOS\ If you have received FOXSQZ via diskette this
directory contains DEMOS of FOXPCX, FOXGIF,
FOXBLASTER & COMP5. DEMOS are also available on
Compuserve "GO FOXFORUM" 3rd Party Lib.
CATALOG.DOC Catalog of additional add-on libraries available
for FOXPRO.
Quick Start
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Foxsqz includes an easy to use non-programmer interface. To get
started right away without reading further just "DO DEMO.PRG".
Revisions/Fixes History
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
April 20, 1993 1.0 Initial BETA released on Compuserve.
April 20, 1993 - October 1, 1992 FoxSqz Development put on hold.
October 10, 1993 1.1 development resumes and released second
BETA.
Nov 10, 1993 1.2
Windows version joins in BETA
Added data encryption can now specify destination directory
for decompressed files.
Fixed problem with uppercase in options string.
Added SQZVERS() function to return FoxSQZ version..
Source of archive file for decompression may be a in a memo
field.
Dec 8, 1993 1.3
Some minor bugs fixed.
Coded a work around to API _Fread() problem.
Page modifier in list function works in Foxpro/DOS when paging
in a Window.
Fixed problems with encryptor.
Dec 10, 1993 1.3d
Fixed problem when compressor tries to compress large files
that do not compress well like .ZIP files.
Dec 12, 1993 1.4 (RC1)
Added exclusion file specifier see X option.
Added @ inclusion operator
Full Encryption now enabled.
Final beta (Release Candidate) before first production release
(I hope)
Dec 13, 1993 1.4a (RC2)
Options 'X' was letting 1 more than the maximum exclusion
allowed which is 5.
Spaces now allowed in options for parameter one
ie "S c e(test) x(*.c) M"
This is not the case with the DOS version , there must be NO
spaces in the command string.
Dec 15, 1993 1.5a (First Release !)
Name specified as SQZ file is taken as is the .SQZ file
extension is no longer enforced be careful that you do not
have a data file with the same name FOXSQZ will overwrite
it! ie) If you have a data file called CLIENTS and you issue
the command "Foxsqz SC CLIENTS *.DBF" Foxsqz will create
and overwrite the file CLIENTS. Foxsqz will no linger
append the .SQZ file extension if you did not ask for it.
What I may do if this is a problem is add the SQZ extension
if no extension is specified.
Jan 29, 1994 1.6 BETA ** 1.6 Developemnt Begins **
Added disk spanning feature see option &
Added DOS verify flag option V
New N option ,means NO-Compression (store only)
New store/un-store code that supports encryption.
G() option to redirect go-between files (Foxsqz temp file)
Fixed problem with Sqz files from DOS and foxpro not having
same CRC
Add Subdirectory support will full path names..
All of many speiling error and typos fixed. (I know how to
spell spelling)
Feb 05, 1994 1.6 BETA
Documented "I" (Inquire) function
Added IU option (Inquire Unsquezzed file Size)
Fixed Spanning with StoreOnly option
User is no longer prompted for Disk one.
Fixed problem with specifing source path when P option not specified.
& option cheks and will only work with Removeable Media ...(ie floppy disks)
Feb 06, 1994 1.6 BETA
& option cheks and will only work with Removeable Media
when combinded with W option .
Feb 16, 1994 1.6a BETA
Added Format/Wipe support for removable spanned disk volumes
Fixed problems with Stor Option
Directory Names are no longer stored in the SQZ file by themselves.
ie) WORK\TEST\
Passwords Expanded to 30 Characters.
Fixed problem with restoring empty directories.
SQZ is used if no extension is specified. Specify a . after a name for no extenstion
ie) TEST. Will create SQZ file "TEST"
Without the . TEST.SQZ will be created
Feb 28, 1994 1.6b BETA
------------------------------
Disk Spanning and Wiping automaticly turned off if target is not removable media
Fixed problem with first character being chopped from file name if
a '\' was the first char in the path ie) \TEST.DBF and the P option not specified.
Mar 1, 1994 1.6c BETA
------------------------------
When Spanning Enabled to Target is Removeable a check is made
for "disk ready"
Mar 6, 1994 1.6d BETA
------------------------------
Handle Abort/Retry error if no disk in when target is removable
a)Fixed known disk formatting problems.
b)Wipe option may be specified even though spanning is not
ie) ability to format the one disk needed for backup.
c) fixed problem wehre Foxsqz was ignoring abort request by user
Mar 7, 1994 1.6e BETA
------------------------------
Fixed problem with operations on spanned archives. Due to
struct alignment problem.
Mar 8, 1994 1.6f BETA
------------------------------
Fixed problem with not putting correct disk in sequence first time around
Fixed problem with FoxSqz occasionaly leaving a file open.
L I options now check for disk ready.
Mar 10-12 1994 1.6g-h BETA
------------------------------
Fixed memory problems.
Mar 14, 1994 1.6i BETA
------------------------------
Added memory conservation option $.
Began cleaning up FOXSQZ messages.
Working on more examples and explanations in the DOCS.
Support
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
If you have any questions and or suggestions please send EMAIL to
(CIS) 70713,2002 or leave a message on the BBS (201) 585-7002.
The BBS and EMAIL is checked everyday. Updates to registered
copies of FOXSQZ will be available a a patch files on FOXFORUM
and the BBS when they become available. All Suggestions/comments
are welcome and, of course, appreciated.
WARRANTY AND LEGAL STUFF
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
FOXSQZ is Copyright (c) 1993-94 Master Creative Software, Inc.
All Rights Reserved .
One registered version of FOXSQZ entitles a person to use FOXSQZ
on one machine at a time. Very reasonable and flexible
distribution options are available.
There is no warranty or guarantees of any kind associated with
FOXSQZ. Master Creative Software, Inc. and the author of FOXSQZ
will assume NO responsibility for ANY damage or loss caused by
the use of FOXSQZ however it may happen and whatever may happen.
Master Creative Software, Inc. and the author of FOXSQZ will not
be liable for any damages whatsoever due to loss of data or any
other reason, even if they have been advised of the possibility
of such damages.
Any risk of damage due to any possible inaccurate information or
a misunderstanding of the provided information is assumed by the
user of the information.
By registering and/or using FOXSQZ, you agree to these terms.
That's it ...
How Much does it cost ?
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Introductory Offer !
a Developer registration fee (DOS OR WINDOWS) is U.S. $69.00 ea.
(includes DOS EXE version)
ADD $35.00 to receive both versions FOXPRO DOS & WINDOWS. (a
savings of $34.00)
When Registering via Compuserve the costs are a little more due
to the fact that they keep 15%. It's roughly $10.00 more.
Multiple Copy Distribution:
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Requires at least one registered developer copy plus $3.00/copy
up to a maximum of 100 copies. When 100 copies are registered at
the $3.00/copy then distribution is unlimited and royalty free.
*One Unlimited distribution license entitles you unlimited
distribution of both DOS & Windows Versions !
Distribution
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
This Software may be distributed with your application in a bound
EXE or APP in FOXPRO/DOS or as the unmodified FLL file for
FOXPRO/WINDOWS. The DOS EXE version may be distributed as is. If
you have properly registered I do not require any credit(s) in
your app for FOXSQZ.
How To Receive FOXSQZ
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
You can receive FOXSQZ by sending the order form below with a
Check or Money Order Only , payable to Master Creative Software,
Inc. in U.S Funds for the total amount. * Please specify
DOS/WINDOWS or both.. *
Mail to: Master Creative Software, Inc.
1530 Palisade Avenue
Suite 16C
Fort Lee, N.J. 07024
** Registration on Compuserve **
You can also register FOXSQZ via Compuserve shareware database.
GO SWREG when registering via Compuserve the charge will billed to your
Compuserve account. DOS/WIN Version ID #1942
DOS ONLY Version ID #2026
WIN ONLY Version ID #2037
Multiple distribution licenses are available separately..
--------------------- FOXSQZ ORDER FORM -------------------------
Where did you obtain FOXSQZ?
Compuserve [ ] Your I.D. # _____________
BBS [ ] Which BBS ______________
Phone#? ______________
Friend [ ] ? ______________
How would you like Foxsqz Sent ? There are two choices:
1) [ ] EMAIL to Compuserve I.D ________________________ (usually
same-day delivery $1-2 extra charge billed to your CIS account)
2) [ ] Download From BBS (Fill in Address Info Below and a Account
will be set up for you on the BBS)
Password you would like for BBS __________________
3) [ ] Send via U.S. Mail
Company ______________________________________________
Name ______________________________________________
Address ______________________________________________
City State Zip ______________________________________________
Country ______________________________________________
Phone/Fax ______________________________________________
SINGLE COPY REGISTRATION
qty ordered: ____ @ $______ $69.00 ea. Specify FOX/DOS or
FOX/Windows Version. Either version
comes with a DOS Exe.
$______ $25.00 add to receive FOXSQZ for both
platforms DOS & WINDOWS (save $44.00).
MULTIPLE COPY REGISTRATION ADD
____ copies @ $3.00 per copy. Maximum 100 copies. There is no
additional cost for distribution once the maximum 100 copies
have been registered. 1 Developer + 100 copy registrations
entitles you to unlimited distribution. (valid for both DOS
and Windows versions).
Total: $_________ Payable in U.S. Funds
Master Creative Software, Inc. and the author of FOXSQZ can be
reached via CIS MAIL the I.D. is 70713,2002 and they monitor the
FOXForum daily. FOXSQZ can be shipped via U.S. Mail or CIS EMAIL
(which is same day) Or Call the BBS at 201-585-7002 .
Acknowledgments
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
I would like to thank Peter Abramson and Bob Velke for their
thorough and rigorous testing and invaluable suggestions.
Foxsqz would not have been possible without the help of these two
gentlemen. I must also not forget my wife Victoria and my 1 year old
daughter Rachael for putting up with me (mostly without me) during
the development of FOXSQZ.
Usage:
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Set Libr to FOXSQZ
From this point on FOXPRO now knows how to compress and
decompress files without using the run/! command to shell out to
DOS and call an external DOS program.
Syntax:
=SQZVERS() Returns the Current FOXSQZ Version...
=FOXSQZ([S[cfmnrp@x&w(lu)]QVG()L[p]U[or]I[csu]E[(pass)]D[a]
T[(TargetDir)],SQZFile,Files)
The above mess is not as bad as you may think, take a look at the
code in DEMO.PRG for a quick way of building parameter lists for
FOXSQZ on the fly.
FOXSQZ Function Types and modifiers
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Modifiers used in all or most functions
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Q - Quiet Mode No Screen OutPut
X - Exclude File Specifier
You may specify up to 5 exclude file specifications. The
syntax is X(filespec) ie) X(*.c)X(*.bak). The Exclusion
operators work with S U L D I Functions..
V - The verify flag controls output to the disk.
When verify is off, writes are not verified; when verify is
on, all disk writes are verified to insure proper writing of
the data. By default Foxsqz uses the default DOS verify flag
for the system the V option forces it true and restored it
upon completion. This option will slow down file writes..
G - The drive specifier to place the Foxsqz Go-Between temp file.
This will speed up file compression especially on Stacker
drives. syntax G(d:) where d: is the drive to place the File
(ram disk is best)
E - Encrypt/DeCrypt Data in Archive
When Compressing files this option will add a password to the
archive file. The password may be a max of 30 characters.
When calling any other function on a encrypted SQZ file you
must specify the password for the function to successful.
ie) FOXSQZ("SCE(FoxPro)Z","TEST","*.C")
Compress *.c and encrypts the data with the password FoxPro
(case matters !)
S - Squeeze Function
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
S Modifiers.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
'C' : Create Mode (only one supported Update feature scheduled for v1.7) .
The Squeeze function will create a SQZ file and compress
files into it.
'M' : Maximum Compression.
'F' : Fast Compression. This is the default and does not need to
be specified.
'N' : No Compression. Stores files in the archive as is .
'@' : File list inclusion operator.
You may specify 1 include file. A include file is a text
file containing file specifiers. Any other file specifies
are ignored (parameter 3) The syntax is @(FileSpec) ie)
@(data.inc). The include file may contain any valid dos
file names or wildcards ONE Per Line! Each line must be
terminated with a Cr/Lf pair most text editor do this for
you..
'&' : Archive to span multiple removable media (ie floppies)
'$' : Save precious memory when using M (max compression ) option.
saves approx 12K of Foxpro memory which reduced compression
by only about 3. Saves approc 3.5K with F(ast) option
'W' : Wipe spanned (REMOVABLE) media before writing.
Wipe/Format Modifiers
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Q = Quick format The Disk, methods rewrites the
disk bootsector/FAT and directory. This is
the default. If unable to quick format a disk
Foxsqz will try a Conditional Format.
C = Conditionally format the target. regardless if
the disk was previously formated or not This method.
will first try to Verify that the disk has been formated
by checking for a valid boot sector, it al is well
it will verify all of the tracks. If this function fails
Foxsqz will attempt a unconditional format.
U = Unconditionally format the target. regardless if
the disk was previously formated or not. This method
performs a full low level format of the drive.
L = Specify low density if using low density media in a
high density drive ie) 720K diskette in 1.44MB drive
360K diskette in 1.2MB drive.
* if W is specified with no modifiers the default is High Density
Conditional Format..
* FOXSQZ will NOT attempt to format media in a Non-Removable
drive, namely Hard-Disks ..
* if Disk Spanning and/or Wiping is specified and the target is
NON-Removable FOXSQZ will automaticly disable disk spanning and
disk wiping.
example) Foxsqz Sc&w(lu) b:test.sqz *.c *.h
will unconditionally format the diskettes in drive B: at
low density.
'R' : recurse into subdirectories
FoxSqz will look into subdirectors for files that match the
file specifier.
'P' : store the recursed into directory
Foxsqz will store the filename with it's path for directory
tree restoration later when decompressing.
example) FOXSQZ SCRP C:\WORK\ALBANY\*.pre
a file named C:\WORK\ALBANY\PRE\ALBANY.PRE will be stored
as PRE\ALBANY.PRE.
'P* :store the specified and recursed into directories.
example) FOXSQZ SCRP* C:\WORK\ALBANY\*.pre
a file named C:\WORK\ALBANY\PRE\ALBANY.PRE will be stored
as WORK\ALBANY\PRE\ALBANY.PRE
U - Un-Squeeze Function
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
U Modifiers.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
'O' : OverWrite Option
The overwrite option instructs FoxSQZ to Overwrite files
that are already on disk. Otherwise if the file already
exists it will prompt you for overwrite permission.
'R' : Restore Original Date Time
This option instructs FOXSQZ to restore the original date
and time to the file when it was compressed. Otherwise the
current date and time are used.
'T' : Target Directory
Specify the Target Drive and/or Path that the files should
be decompressed to. The destination Drive path MUST be
enclosed in parenthesis and directly follow the T modifier
in the command string.
example : UT(C:\Work\Fox\API\)O
** NOTE ** the trailing Backslash is Needed!
'D' : Restore Directory orginal paths
This option instructs Foxsqz to Put files into the orginal directory
that they orginated from if the P modifer was used when compressing.
without this option Foxsqz will place all the files in the same directory.
D - Delete Files from SqzFile
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Deletes the Specified Files from the SQZ file
L - List Files in Archive File
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Displays files in a SQZ file. Lists the File name,original
size, compressed size, CRC value and Compression ratio.
L - Modifiers.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
'P' : PageDisplay, This option instructs FOXSQZ to page the
display of files (works like More filter in DOS)
I - Inquire Function
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
FOXSQZ will return an integer based on the I Modifier
The Default I modifier is "C"
I Modifiers.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
'S' - Return the Total Squeezed File Size for files matching file specifier.
'U' - Return the Total Un-Squeezed File Size for files matching file specifier.
'C' - Return the Total Count of files for files matching file specifier.
Example:
if FOXSQZ("IU","TEST.SQZ","*.dbf *.fpt") > DISKSPACE()
Wait "Not Enough DiskSpace for Decompression of Specified Files" Window
Endif
SqzFileName Parameter (2)
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
The archive name may be any character string or variable name
that can represent a valid DOS file name.
ie) "DEMOS.SQZ" "FILES" TEST. TEST
*note: TEST. becomes TEST and TEST becomes TEST.SQZ
FILESPEC Parameter (3) Optional
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
The file specifier may be any valid DOS file name. Wildcard
characters are supported. You may specify up to 10 different file
specifiers
ie) "TEST.PRG *.prg "?.c *.h " If this parameter is omitted (*.*)
is assumed.
Programming Examples
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Set Libr to FoxSqz && Make FoxSqz a part of FOXPRO
=FoxSqz("SCM","TEST.SQZ","*.c *.h *.asm")
Create SQZ file TEST.SQZ using maximum compression.
Compress files *.c *.h and *.asm into test.sqz.
=FoxSqz("SC","TEST","*.c *.h *.asm")
Create SQZ file TEST using fast compression.
Compress files *.c *.h and *.asm into test.sqz.
=FoxSqz("SC","TEST.SQZ")
Create SQZ file TEST.SQZ using fast compression.
Compress all files in current directory.
=FoxSqz("d","TEST.WAR","Lzw.c")
Delete the File lzw.c from TEST.WAR.
=FoxSqz("lp","TEST.SQZ","*.c")
List all .c file from TEST.SQZ one page at a time.
=FoxSqz("uot(c:\work\)","TEST")
De-compress all files from TEST.SQZ overwriting any files
with the same name and placing them in the C:\WORK
directory.
=FoxSqz("uo","TEST.SQZ","*.c")
De-compress all .c file from TEST.SQZ overwriting any files
with the same name.
=FoxSqz("scmq","c:\arc\TEST.sqz","c:\work\data\*.dbf
c:\work\source\*.pre")
Compress files indicated into a sqz file in the c:\arc
subdirectory.
=FoxSqz("scmqX(a*.*)","c:\arc\TEST.sqz","c:\work\data\*.dbf
c:\work\data\*.fpt")
Compress files indicated into a sqz file in the c:\arc
subdirectory and eXclude files that begin with 'a'.
=FoxSqz("s@(test.inc)","Test")
Compress files that are listed in test.inc into a sqz file.
Test.inc might contain:
*.c
c:\work\data\*.dbf
c:\work\data\*.fpt etc...
=FoxSqz("s&v","A:Test.SQZ","*.dbf *.fpt")
Compress All DBF and FPT to Floppy in Drive A:. TEST.SQZ
will span multiple floppies if data is larger than one
floppy disk.
=FoxSqz("scrp","Test.SQZ","*.dbf *.fpt")
Compress All DBF and FPT that appear in the current
directory and all subdirectories below, store path names in
the SQZ file.
=FoxSqz("up","Test.SQZ")
Decompress All files in Test.Sqz creating the directory
tree if p option was used when compressing..
/* Codes Returned by FOXSQZ */
*See The Error Function in Demo.prg
0 No Errors Detected
1 Bad Input
2 Bad Output
3 Bad Global Header
4 Error Writing Global Header
5 Bad Local Header
6 Error Writing Local Header
7 Error Allocating memory
8 Error Allocating memory
9 File Read Error 1
10 File Read Error 2
11 File Read Error 3
12 DosFile Size Error
13 File Write Error 1
14 File Write Error 2
15 File Write Error 3
16 Error In Parameter 1
17 Error In Parameter 2
18 Error In Parameter 3
19 Error Opening Input
20 Error Opening OutPut
21 No Parameters Passed
22 Error Opening WorkFile
23 File Write Error
24 Create Aborted By User
25 Error Allocating Memory
26 Error InValid Parameter
27 UnKnown compression type
28 Error in Password
29 InValid PassWord
30 Not a FOXSQZ Archive or Incompatible version
31 Error Changing to drv/path
32 Unable to select target
33 Could not Open Include File
34 Invalid Inclusion argument
35 Invalid Exclusion argument
36 Max Exclusions is 5
37 Not disk one in sequence
38 User aborted
39 No Spanning for this option
40 Unable to Format Disk
41 Nothing to do
42 Exceeded max files allowed in demo
43 Disk is Not Removable
44 No More Internal FoxSqz Memory Handles
45 Invalid Drive Specified
Please send any and all comments and suggestions to CIS 70713,2002
or Feel free to call the BBS at 201-585-7002..
Thank You...